projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e8068
)
* process.c (sigchld_handler): Add cast, to avoid warnings on Linux.
author
Jim Blandy
<jimb@redhat.com>
Wed, 9 Jun 1993 12:39:16 +0000
(12:39 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Wed, 9 Jun 1993 12:39:16 +0000
(12:39 +0000)
(Fopen_network_stream): Cast the second argument to connect, to
avoid warnings on any system that provides prototypes for connect.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index d661aa92425cd675b3309a5802e0e8e055425d07..a834cc8a355316420cbb4c3076d544df839254c0 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1478,7
+1478,7
@@
Fourth arg SERVICE is name of the service desired, or an integer\n\
report_file_error ("error creating socket", Fcons (name, Qnil));
loop:
- if (connect (s, &address, sizeof address) == -1)
+ if (connect (s,
(struct sockaddr *)
&address, sizeof address) == -1)
{
int xerrno = errno;
if (errno == EINTR)